<!DOCTYPE html>
<html>
<head>
  <title></title>
</head>
<body>
  <div id="app">
    <example :tags="['h1', 'h2', 'h3']"></example>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script>
    Vue.component('example', {
      props: ['tags'],
      render(h) {
        return h('div', this.tags.map((tag, i) => h(tag, i)));
      }
    });

    new Vue({ el: '#app' });
  </script>
</body>
</html>
